package org.wtframework.platform.server.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.wtframework.platform.server.manager.impl.FileMetaManager;
import org.wtframework.platform.server.model.impl.FileMeta;

@Service
public class FileMetaService {

	
	@Resource
	private FileMetaManager fileMetaManager;
	
	public void saveFile(FileMeta fileMeta){
		
		fileMetaManager.save(fileMeta);
		
	}
	
	
	public FileMeta findFile(Long id) {
		return fileMetaManager.load(id);
	}
}
